Simple helper method to raise the event
asynchronously, it will put the event on the RealTimeEndpoint
EventQueue. Normally derived implementation classes should call
this method for all notification events to be processed from a
single event queue.
Namespace:
Microsoft.Rtc.Collaboration.Presence
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Protected
Sub
RaiseEventViaEndpointQueue(
Of T
As
EventArgs) ( _
eventArg
As T, _
handler
As
EventHandler(
Of T) _
)
|
C# |
protected
void
RaiseEventViaEndpointQueue<T>(
T
eventArg,
EventHandler<T>
handler
)
where T :
EventArgs
|
Visual C++ |
protected:
generic<
typename T>
where T :
EventArgs
void
RaiseEventViaEndpointQueue(
T
eventArg,
EventHandler<T>^
handler
)
|
JavaScript |
JavaScript does not support generic types or
methods.
|
Parameters
-
eventArg
- Type:
T
Event arguments for the event.
-
handler
- Type:
EventHandler
<
(Of
<
(
T
>
)
>
)
Event handler to be invoked on the event.
Type Parameters
-
T
- The type of event args the raised event uses.
See Also